package com.gp.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gp.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 来一杯凉咖
 * @create 2022/3/10 8:16
 */
public interface UserDao extends BaseMapper<User> {
    List<User> queryAll();

//    int addRoleById(Integer userId);
//模糊查询用户
    List<User> selectUser(@Param("uname") String uname,@Param("lname") String lname,@Param("email") String email, @Param("phone")String phone);
}

